package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderService {




    public Result order(Map map) throws Exception;

    Map findById(int id);

    PageResult findByPage(QueryPageBean queryPageBean);

    void updateOrderStatusById(int id);

    void updateNotOrderStatusById(int id);

    List<Map<String, Object>> getOrderReportData();

}
